<?php self::include_block('my/main_nav'); ?>

<div id="mainContainer">
    <div class="layout">
        <?php self::include_block('my/resume/lefter'); ?>
        <div class="right">
            <div id="resumeInfo">
                <!--右导航栏-->
                <?php self::include_block('my/right_nav'); ?>

                <!-- 已添加的证书 -->
                <div class="rightRow1">您可以在这里填写获得的各种证书。要修改或删除某证书，按"编辑"或"删除"。</div>
                <table class="table1" border="0" cellpadding="0" cellspacing="0" width="770px">
                    <thead>
                        <tr>
                            <th class="noLine" width="4"><img src="<?php self::media_url('new_v4/row2TL.jpg'); ?>" height="24" width="4"></th>
                            <th width="655">证书名称</th>
                            <th width="100">&nbsp;</th>
                            <th class="noLine" width="4"><img src="<?php self::media_url('new_v4/row2TR.jpg'); ?>" height="24" width="4"></th></tr>
                    </thead>
                    <tbody>
                        <?php if ($certificates !== null): ?>
                            <?php foreach ($certificates as $certificate): ?>
                                <tr>
                                    <td colspan="4" style="border-left:1px solid #B9B9D3;border-right:1px solid #B9B9D3" valign="top">
                                        <table class="table6" border="0" cellpadding="0" cellspacing="0" width="760">
                                            <tbody>
                                                <tr>
                                                    <td class="tab6Td1" width="655"><?php echo $certificate->type; ?></td>
                                                    <td width="100"><a href="#" class="blue12line" onclick="editItem(3);return false;">编辑</a> | <a href="#" class="blue12line" onclick="deleteItem(3);return false;">删除</a></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                            <?php endforeach; ?>
                        <?php endif; ?>
                    </tbody>
                    <tfoot>
                        <tr>
                            <td height="4"><img src="<?php self::media_url('new_v4/row1BL.gif'); ?>" height="4" width="4"></td>
                            <td colspan="2" background="<?php self::media_url('new_v4/row1BBg.gif'); ?>"></td>
                            <td><img src="<?php self::media_url('new_v4/row1BR.gif'); ?>" height="4" width="4"></td>
                        </tr>
                    </tfoot>
                </table>
                <!-- end 已添加的证书 -->

                <!--证书表单-->
                <?php self::include_block('my/certificate_form'); ?>

                <div id="helpTxt" class="row3b">
                    <h3><span>证书说明撰写技巧</span></h3>
                    <ul class="row3bCon">
                        <li>列举证书发行的机构，取得该证书所用的学时、成绩及相关设计作品。</li>
                        <li>列举取得该证书过程中所获得的知识、技能或相关实践经验。</li>
                    </ul>
                </div>
                <div class="row1Bot2"><img src="<?php self::media_url('new_v4/row1BL.gif'); ?>" alt="" height="4" width="4"><img src="<?php self::media_url('new_v4/row1BR.gif'); ?>" alt="" style="float:right" height="4" width="4"></div>
            </div>
        </div>
    </div>
</div>
